package com.zhj.common.core.result.enums;

/**
 * @author zhj
 */
public enum Codes {
    SUCCESS(200, "success"),
    RESOURCES_NOT_FOUNT(404, "资源未找到"),
    SERVER_EXCEPTION(500, "服务器异常"),
    PARAMETER_ERROR(505,"参数校验异常");
    ;

    public Integer code;
    public String msg;

    Codes(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
